const download = require('download-git-repo')

const url =`https://gitee.com/antv/X6.git`


download(`${url}`, './', (err) => {
  console.log(err)
})